package com.API.dal.providers;

import com.API.dal.entities.Objects;
import com.API.dal.entities.Works;

import java.util.List;

/**
 * Интерфейс управления видами работ
 */
public interface WorksProvider {

    void addWork(Works work);
    void updateWork(Works work);
    List<Works> getWorks();
    List<Works> getProjectWorks(Objects project);
    List<Works> getProjectWorks(int project_id);
    List<Works> getProjectWorks(String project_name);
    Works  getWorkById(int work_id);
    Works getWorkByName(String work_name);

}
